// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.dcel;

import java.util.List;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class UnitStruct {
  public String packageName;
  public String unitName;
  
  public List<Pin> pins;
  public List<Component> components;
  public List<Jumper> jumpers;
  public List<String> executionScript;
  
  public static final class Pin {
    public String name;
    public int width;
  }
  
  public static final class Component {
    public String name;
    public String unitName;
    public int[] initArgs;
  }
  
  public static final class Jumper {
    public String component1Name;
    public String pin1Name;
    public String component2Name;
    public String pin2Name;
  }
}
